import Vue from 'vue'
import Router from 'vue-router'
import login from '@/components/login'

import test from '@/components/test'
import show from '@/components/show'
import details from '@/components/details'
Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/login',
      name: 'login',
      component: login
    },{
      path: '/show',
      name: 'show',
      component: show
    },{
      path: '/details',
      name: 'details',
      component: details
    },{
      path: '/test',
      name: 'test',
      component: test
    },
  ]
})
